using System.Data;

namespace DataScripter.Scripting.Processes.Morphs
{
    public interface IFieldMorphAction
    {
        bool ShouldBeAppliedOnField(string fieldName);
        string FieldFilter { get; set; }
        string FieldName { get; set; }
        void Apply(DataTable from, DataTable to);
        void Apply(DataRow from, DataRow to, DataTable fromTable, DataTable targetTable);
    }
}